package com.csmp.service;

import java.io.Serializable;
import java.util.List;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.bs.bean.RoleLog;

public abstract class AbstractRoleLogService extends HibernateDaoSupport
		implements RoleLogService {
	protected abstract void saveObj(RoleLog entity);

	protected abstract RoleLog loadObj(Serializable id);

	protected abstract List<RoleLog> searchList(RoleLog obj, int first, int max);

	public void save(RoleLog entity) {
		saveObj(entity);
	}

	public List<RoleLog> search(RoleLog obj, int first, int max) {
		return searchList(obj, first, max);
	}

	public RoleLog load(Serializable id) {
		return loadObj(id);
	}

}
